﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.Models
{
    [Table("EventType")]
    public class EventType
    {
        [Key]
        public string? EventTypeNo { get; set; }//Varchar(50) PRIMARY KEY 事件编号
        public string? ProtocolNo { get; set; }//Varchar(50) fk：通讯协议编号
        public string? EventTypeName { get; set; }// Varchar(50) 事件名称
        public string? EventClassNo { get; set; }//Varchar(50) 事件分类
        public int? EventCode { get; set; }// int 相应协议下的事件代码
    }
}
